using System;
using System.Web.UI;

public partial class AccessDenined : Page
{
    //protected override void InitializeCulture()
    //{
    //    if (Session[PortalContext.SESSION_CURRENT_LANG] != null)
    //    {
    //        //base.InitializeCulture();
    //        Language currLang = (Language)Session[PortalContext.SESSION_CURRENT_LANG];
    //        Culture = currLang.CultureName;
    //        UICulture = currLang.CultureName;
    //    }
    //}
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            if (Session["error@msg"] != null)
                message.Text = Session["error@msg"].ToString();
        }
    }
}